
import os
import subprocess
import sys


def run_setup(project_dir, *args):
    
    os.chdir(project_dir)
    
    args = list(args)
    args.insert(0, sys.executable)
    args.insert(1, "setup.py")
    
    subprocess.call(args)
